package com.swjd.service;



import java.util.List;

import com.swjd.common.utils.Page;
import com.swjd.po.customer;
import com.swjd.po.dict;
//客户业务逻辑接口
public interface CustomerService {
	//查询客户所有
	public List<customer> findAll();
	//根据条件查询客户对应字典信息
	public Page<customer> findCustomerByDict(String cust_name,String cust_source,String cust_industry,String cust_level,Integer Page,Integer rows);
	//添加客户信息
	public int addCustomer(customer customer);
	//根据ID查询客户信息
	public customer findCustomerByid(Integer cust_id);
	//根据ID修改客户信息
	public int updateCustomerById(customer customer);
	//根据ID删除客户
	public int deleteCustomerById(Integer cust_id);
}
